<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%--<%@page import="cn.edu.neu.core.Constants"%>--%>
<%--<%@page import="cn.edu.neu.core.common.CommonBaseAction"%>--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->

<style>
    * {
        margin: 0;
        padding: 0;
    }

    body {
        font-family: "微软雅黑";
        background: #eee;
    }

    button {
        display: inline-block;
        padding: 6px 12px;
        font-weight: 400;
        line-height: 1.42857143;
        text-align: center;
        vertical-align: middle;
        cursor: pointer;
        border: 1px solid transparent;
        border-radius: 4px;
        border-color: #28a4c9;
        color: #fff;
        background-color: #5bc0de;
        margin: 20px 20px 0 0;
    }

    .box {
        width: 800px;
        margin: 100px auto 0;
        height: 34px;
    }

    .page {
        width: 600px;
    }

    .info {
        width: 200px;
        height: 34px;
        line-height: 34px;
    }

    .fl {
        float: left;
    }
</style>

<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap/css/default.css">

<!-- Custom styles for this template -->
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/dashboard.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/adminnav.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap/css/style.css">

<%--引入分页控件所需css文件--%>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/jquery.pagination.css"/>

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="${pageContext.request.contextPath}/static/js/jquery-1.11.3.js"></script>
<script src="${pageContext.request.contextPath}/static/js/functions.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="${pageContext.request.contextPath}/static/css/bootstrap/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/static/css/bootstrap/js/prettify.min.js"></script>
<script src="${pageContext.request.contextPath}/static/css/bootstrap/js/multiselect.min.js"></script>

<%--引入分页控件所需js文件--%>
<script src="${pageContext.request.contextPath}/static/js/jquery.pagination.min.js"></script>

<script type="text/javascript">

    function checkLogin(result) {
        if (result.login) {
            //$("#msgTitle").html(result.login);
            //$("#msgBody").html(result.login);
            //$("#msgModal").modal();
            $("#loginFormModal").modal();
            return false;
        }
        return true;
    }

    function dropdown() {
        if ($("#dropdownMenu1").attr("expanded") == "true") {
            $("#dropdownMenu1").attr("expanded", "false");
            $("#dropdown").removeClass("open");
        } else {
            $("#dropdownMenu1").attr("expanded", "true");
            $("#dropdown").addClass("open");
        }
    }
</script>

<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">后台管理</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="${pageContext.request.contextPath}/category/toCategoryList">商品分类管理</a></li>
                <li><a href="${pageContext.request.contextPath}/size/sizeList">基本参数管理</a></li>
                <li><a href="${pageContext.request.contextPath}/product/productList">商品信息管理</a></li>
                <li><a href="${pageContext.request.contextPath}/order/orderList">订单信息管理</a></li>
                <li><a href="#">用户信息管理</a></li>
                <li><a href="${pageContext.request.contextPath}/logout">退出登录</a></li>
            </ul>

        </div>
    </div>
</nav>
<%@include file="loginFormModal.jsp" %>

<%@include file="msgModal.jsp" %>

<%@include file="confirmModal.jsp" %>
